﻿@if(Request.IsAuthenticated) {
    <text>Добро пожаловать, <strong>@User.Identity.Name</strong>!
    @Html.ActionLink("Logout", "LogOff", "Account")</text>
}
else {
    @:@Html.ActionLink("Login", "LogOn", "Account")
}
